/**
 *  Copyright (c) 2012-2016, www.tinygroup.org (luo_guo@icloud.com).
 *
 *  Licensed under the GPL, Version 3.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.gnu.org/licenses/gpl.html
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package org.tinygroup.sdpm.service.dao.constant;

import org.tinygroup.sdpm.service.dao.pojo.ServiceSla;
import org.tinygroup.tinysqldsl.base.Column;
import org.tinygroup.tinysqldsl.base.Table;

/**
 * <!-- begin-user-doc --> 服务级别协议表 * <!-- end-user-doc -->
 */
public class ServiceSlaTable extends Table {

	public static final ServiceSlaTable SERVICE_SLATABLE = new ServiceSlaTable();

	/**
	 * <!-- begin-user-doc --> <!-- end-user-doc -->
	 */
	public static final ServiceSlaTable SERVICE_SLA_TABLE = new ServiceSlaTable();

	/**
	 * <!-- begin-user-doc --> 服务协议ID * <!-- end-user-doc -->
	 */
	public final Column SLA_ID = new Column(this, "sla_id");
	/**
	 * <!-- begin-user-doc --> 服务级别 * 服务级别Service Level，保留字段，未今后分级服务提供信息； 0基础
	 * 1潜力 2核心 3vip <!-- end-user-doc -->
	 */
	public final Column SERVICE_LEVEL = new Column(this, "service_level");
	/**
	 * <!-- begin-user-doc --> 服务期限 * 服务有效期Service Deadline <!-- end-user-doc
	 * -->
	 */
	public final Column SERVICE_DEADLINE = new Column(this, "service_deadline");
	/**
	 * <!-- begin-user-doc --> 客户ID * <!-- end-user-doc -->
	 */
	public final Column CLIENT_ID = new Column(this, "client_id");
	/**
	 * <!-- begin-user-doc --> 产品ID * <!-- end-user-doc -->
	 */
	public final Column PRODUCT_ID = new Column(this, "product_id");
	/**
	 * <!-- begin-user-doc --> 服务协议标题 * <!-- end-user-doc -->
	 */
	public final Column SLA_TITLE = new Column(this, "sla_title");
	/**
	 * <!-- begin-user-doc --> 服务协议表述 * <!-- end-user-doc -->
	 */
	public final Column SLA_SPEC = new Column(this, "sla_spec");
	/**
	 * <!-- begin-user-doc --> 服务响应时限 * 单位为小时（不含节假日） <!-- end-user-doc -->
	 */
	public final Column SERVICE_REPLY_TIME_LIMIT = new Column(this,
			"service_reply_time_limit");
	/**
	 * <!-- begin-user-doc --> 需求回访时限 * 单位工作日 <!-- end-user-doc -->
	 */
	public final Column SERVICE_REVIEW_TIME_LIMIT = new Column(this,
			"service_review_time_limit");
	/**
	 * <!-- begin-user-doc --> 服务工时上限 * <!-- end-user-doc -->
	 */
	public final Column SERVICE_EFFORT_LIMIT = new Column(this,
			"service_effort_limit");
	/**
	 * <!-- begin-user-doc --> 服务请求数上限 * <!-- end-user-doc -->
	 */
	public final Column SERVICE_REQUEST_LIMIT = new Column(this,
			"service_request_limit");
	/**
	 * <!-- begin-user-doc --> 现场服务次数上限 * <!-- end-user-doc -->
	 */
	public final Column SERVICE_TS_ONSITE_LIMIT = new Column(this,
			"service_ts_onsite_limit");
	/**
	 * <!-- begin-user-doc --> 服务专员 * 可以多人，间隔符英文, <!-- end-user-doc -->
	 */
	public final Column SERVICE_SPECIALIST = new Column(this,
			"service_specialist");
	/**
	 * <!-- begin-user-doc --> 服务级别协议 * 0新建，1生效，2到期，3作废，4关闭 <!-- end-user-doc
	 * -->
	 */
	public final Column SLA_STATUS = new Column(this, "sla_status");
	/**
	 * <!-- begin-user-doc --> 创建人 * <!-- end-user-doc -->
	 */
	public final Column SLA_CREATED_BY = new Column(this, "sla_created_by");
	/**
	 * <!-- begin-user-doc --> 创建时间 * <!-- end-user-doc -->
	 */
	public final Column SLA_CREATE_DATE = new Column(this, "sla_create_date");
	/**
	 * <!-- begin-user-doc --> 批准人 * <!-- end-user-doc -->
	 */
	public final Column SLA_REVIEWED_BY = new Column(this, "sla_reviewed_by");
	/**
	 * <!-- begin-user-doc --> 批准时间 * <!-- end-user-doc -->
	 */
	public final Column SLA_REVIEW_DATE = new Column(this, "sla_review_date");
	/**
	 * <!-- begin-user-doc --> 关闭人 * <!-- end-user-doc -->
	 */
	public final Column SLA_CLOSED_BY = new Column(this, "sla_closed_by");
	/**
	 * <!-- begin-user-doc --> 关闭时间 * <!-- end-user-doc -->
	 */
	public final Column SLA_CLOSE_DATE = new Column(this, "sla_close_date");
	/**
	 * <!-- begin-user-doc --> 打开次数 * 默认0，审核通过后编辑再审核+1 <!-- end-user-doc -->
	 */
	public final Column SLA_OPEN_COUNT = new Column(this, "sla_open_count");
	/**
	 * <!-- begin-user-doc --> 已删除 * <!-- end-user-doc -->
	 */
	public final Column DELETED = new Column(this, "deleted");
	/**
	 * <!-- begin-user-doc --> 产品版本 * <!-- end-user-doc -->
	 */
	public final Column CILENT_PRODUCT_VISION = new Column(this,
			"cilent_product_vision");

	public ServiceSlaTable() {
		super("service_sla");
	}

	public boolean isAutoGeneratedKeys() {
		return true;
	}

	public Class getPojoType() {
		return ServiceSla.class;
	}

}
